NuclearEngagement\Services\ThemeMigrationService S

Total Complexity 37
Dependencies 4
Dependents 3
Total lines 319
Lines of code 269
Logical lines of code 77
Comment lines 0
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
convert_legacy_to_new_config()
A
40 7 59
migrate_user_theme()
S
57 5 18
create_light_theme()
S
43 2 55
create_dark_theme()
S
43 2 55
migrate_custom_theme()
S
55 3 22
migrate_legacy_settings()
S
61 3 13
__construct()
S
75 3 4
set_active_theme()
S
71 2 6
rollback_migration()
S
64 2 10
cleanup_legacy_files()
S
68 2 7
create_preset_themes()
S
78 1 4
set_active_theme_by_id()
S
81 1 3
backup_legacy_settings()
S
80 1 3
check_migration_status()
S
79 1 3
get_legacy_custom_css_path()
S
75 1 4
has_legacy_custom_css()
S
80 1 3